package com.lesson7.classadapter;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/8/29 17:23
 */
public class Client
{
    public static void main(String[] args)
    {
        System.out.println("------------------------类适配器模式-----------------------------");
        Phone phone = new Phone();
        phone.charging(new VoltageAdapter());
    }
}
